
import {createElement,render} from './element'




const uldom = createElement('ul',{class:'list'},[
  createElement('li',{class:'item'},'刘大侠'),
  createElement('li',{class:'item'},'周杰伦'),
  createElement('li',{class:'item'},'彭于晏')
])

console.log('uldom',uldom);

const ele = render(uldom);

document.getElementById('root').appendChild(ele);

let vDOM2 = createElement('ul',{class:'list-group'},[
  createElement('li',{class:'item active'},'晴天')
])

  



